package com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.position;

import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.position.dto.BusinessEmployeePositionHistoryListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.position.param.BusinessEmployeePositionHistoryCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.position.param.BusinessEmployeePositionHistoryDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.position.param.BusinessEmployeePositionHistoryListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.position.param.BusinessEmployeePositionHistoryUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessEmployeePositionHistoryCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/employee/position/history/fallback")
public class BusinessEmployeePositionHistoryCloudServiceFallback implements BusinessEmployeePositionHistoryCloudService {

    @Override
    public BusinessEmployeePositionHistoryListCloudDto list(BusinessEmployeePositionHistoryListCloudParam param) {
        return new BusinessEmployeePositionHistoryListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessEmployeePositionHistoryCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessEmployeePositionHistoryUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessEmployeePositionHistoryDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
